<?php if (!defined('THINK_PATH')) exit();?>
	<div id="content-header">
		<div id="breadcrumb"> <a href="#" title="Go to Home" class="tip-bottom"><i class="icon-home"></i>代理管理</a>
		 <a href="/index.php/Matrix/Auto/index" form-type='content'>统计</a> </div>
	</div>
	<div class="container-fluid">
		<div class="row-fluid">
			<div class="span12">
				<div class="widget-box">
					<div class="widget-title"> <span class="icon"> <i class="icon-th"></i> </span>
						<h5>数据列表</h5>
					</div>
					<div class="widget-content ">
						<!-- <div class="" style="height: 50px;">
							<div style="float: left;">
								<a href="#myAlert" data-toggle="modal">
									<button class="btn btn-danger">批量删除</button>
								</a>
								<a href="/index.php/Matrix/Auto/add" form-type='content'>
									<button class="btn btn-success">添加</button>
								</a>
							</div>
						</div> -->
						<div id="myAlert" class="modal hide" aria-hidden="true" style="display: none;">
							<div class="modal-header">
								<button data-dismiss="modal" class="close" type="button">×</button>
								<h3>批量删除</h3>
							</div>
							<div class="modal-body">
								<p>内容删除之后将不能够恢复，确定要做批量删除吗？</p>
							</div>
							<div class="modal-footer"> <a data-dismiss="modal" class="btn btn-primary data-del-all" href="/index.php/Matrix/Auto/foreverdelete">确定</a>
								<a data-dismiss="modal" class="btn" href="#">取消</a> </div>
						</div>
						<div id="yun_uploader" class="modal hide close-form-table" aria-hidden="true" style="display: none;">
							<div class="modal-header">
								<button data-dismiss="modal" class="close" type="button">×</button>
								<h3>上传文件</h3>
							</div>
							<div class="modal-body" id="modal-body">
								没有上传文件
							</div>
							<div class="modal-footer">
								<form action="/index.php/Matrix/Auto/excelImport">
									<button type="submit" class="btn btn-success" form-type="form-table" style="float: right;" close-form-table="close-form-table">确定</button>
									<div class="uploadWallpaperButton" method="post" enctype="multipart/form-data" style="float: right;">
										<input type="file" name="excelData" class="f" id="imgfile" style="display: block;" uniform='none' form-type='uplaoder-modal-body' />
									</div>
								</form>
							</div>
						</div>
						<div id="table">
							
	<table class="table table-bordered table-striped with-check">
		<thead>
			<tr>
				<th>序号</th>
				<th>操作说明</th>
				<th>已统计(结算)月份</th>
				<th width="140px">操作</th>
			</tr>
		</thead>
		<tbody>
				<tr>
					<td>1</td>
					<td>检查超过24小时，没审核通过订单，检测后设置为过期订单</td>
					<td></td>
					<td class="center">
						<a class="btn btn-success" href="/index.php/Matrix/Auto/batch_order" form-type='content' onClick="return confirm('确定自动检测过期订单?');">检测过期订单</a>
					</td>
				</tr>
				<tr>
					<td>2</td>
					<td>统计用户月总消费(每个月限操作一次)</td>
					<td><?php if(is_array($userReportDate)): foreach($userReportDate as $key=>$vo): echo ($vo); ?>/<?php endforeach; endif; ?></td>
					<td class="center">
						<a class="btn btn-success" href="/index.php/Matrix/Auto/user_monthly_balance" form-type='content' onClick="return confirm('确定统计用户月消费?');">统计用户月总消费</a>
					</td>
				</tr>
				<tr>
					<td>3</td>
					<td>月结统计：统计代理上个月的佣金(每个月限操作一次)</td>
					<td><?php if(is_array($reportDate)): foreach($reportDate as $key=>$vo): echo ($vo); ?>/<?php endforeach; endif; ?></td>
					<td class="center">
						<a class="btn btn-success" href="/index.php/Matrix/Auto/agent_monthly_balance" form-type='content' onClick="return confirm('确定统计代理佣金?');">统计代理月总佣金</a>
					</td>
				</tr>
				<tr>
					<td>4</td>
					<td>将代理佣金转入代理余额</td>
					<td><?php if(is_array($reportDateStatus)): foreach($reportDateStatus as $key=>$vo): echo ($vo); ?>/<?php endforeach; endif; ?></td>
					<td class="center">
						<a class="btn btn-success" href="/index.php/Matrix/Auto/agent_to_money" form-type='content' onClick="return confirm('确定结算代理?');">结算代理佣金</a>
					</td>
				</tr>
		</tbody>
	</table>
	<div id="myAlert-bean" class="modal hide" aria-hidden="true" style="display: none;">
		<div class="modal-header">
			<button data-dismiss="modal" class="close" type="button">×</button>
			<h3>删除</h3>
		</div>
		<div class="modal-body">
			<p>内容删除之后将不能够恢复，确定要做删除吗？</p>
		</div>
		<div class="modal-footer"> <a data-dismiss="modal" class="btn btn-primary data-del-bean-alert" href="/index.php/Matrix/Auto/foreverdelete">确定</a>
			<a data-dismiss="modal" class="btn" href="#">取消</a> </div>
	</div>
	<!-- page -->
	<div class="fg-toolbar ui-toolbar ui-widget-header ui-corner-bl ui-corner-br ui-helper-clearfix">
	<div class="" style="float: left;" id="page-left-info">
		<div>当前第 <?php echo ($currentPage); ?> 页/ 共 <?php echo ($totalCount); ?> 条 / 共 <?php echo ($totalPage); ?> 页 跳转到 &nbsp;</div>
		<div>
			<input type="text" class="span2" id ="yun_page_skip_input" value="<?php echo ($currentPage); ?>">
		</div>
		<div><a href='<?php echo ($goPage); ?>&between_time_start=<?php echo ($between_time_start); ?>&between_time_end=<?php echo ($between_time_end); ?>' id = "yun_page_skip" sytle="font-size: 20px;" form-type="page-table"><i class="icon-circle-arrow-right"></i></a></div>
	</div>
	<div class="dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_full_numbers" id="DataTables_Table_0_paginate">
		<?php echo ($page); ?>
	</div>
</div>



						</div>
					</div>
				</div>
			</div>
		</div>
	</div>